package com.ssi.myshop.base;

import java.util.List;

public class BaseListData<T> {

    @Override
    public String toString() {
        return "BaseListData{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 0
     * data : [{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2021-04-13 16:37:17","id":155624,"linkUrl":"12121212","paixu":0,"picUrl":"https://dcdn.it120.cc/2019/09/14/4c56fda7-1a51-4544-93d9-b27a4fb87873.png","status":0,"statusStr":"显示","title":"0","type":"score","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2021-04-13 16:37:09","id":155623,"linkUrl":"1212","paixu":0,"picUrl":"https://dcdn.it120.cc/2019/09/14/b0442e7d-eb30-4014-8abf-52e474a392d8.png","status":0,"statusStr":"显示","title":"0","type":"score","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","id":155622,"paixu":0,"picUrl":"https://dcdn.it120.cc/2019/09/14/86312820-6124-4e3e-85d8-2d1747008ed5.png","status":0,"statusStr":"显示","title":"0","type":"score","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-02-20 09:54:37","id":155621,"paixu":0,"picUrl":"https://dcdn.it120.cc/2019/12/29/2e79921a-92b3-4d1d-8182-cb3d524be5fb.png","status":0,"statusStr":"显示","title":"首页轮播图","type":"index","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-02-20 09:54:31","id":155620,"paixu":0,"picUrl":"https://dcdn.it120.cc/2019/12/29/daca65ee-4347-4792-a490-ccbac4b3c1d7.png","status":0,"statusStr":"显示","title":"首页轮播图","type":"index","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-02-20 09:54:27","id":155619,"linkUrl":"","paixu":0,"picUrl":"https://dcdn.it120.cc/2019/12/29/8396f65d-d615-46d8-b2e5-aa41820b9fe5.png","status":0,"statusStr":"显示","title":"首页轮播图","type":"index","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-12-03 21:43:08","id":155618,"paixu":0,"picUrl":"https://dcdn.it120.cc/2020/12/03/4bfda89d-83eb-4e46-b54a-34178aed1df0.jpg","status":0,"statusStr":"显示","title":"直播列表界面","type":"livelist","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-12-03 21:14:40","id":155617,"paixu":0,"picUrl":"https://dcdn.it120.cc/2020/12/03/6065fd80-104e-4cac-b395-54a5bbd343fa.jpg","status":0,"statusStr":"显示","title":"直播列表界面","type":"livelist","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-12-16 14:03:10","id":155616,"paixu":0,"picUrl":"https://dcdn.it120.cc/2020/12/16/d43748c2-6c47-4058-8944-8db13240d4b9.jpg","status":0,"statusStr":"显示","title":"直播列表界面","type":"livelist","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-01-07 08:19:29","id":155627,"paixu":10,"picUrl":"https://dcdn.it120.cc/2020/01/07/c3183558-55e8-4589-9ea7-81670004941a.jpg","status":0,"statusStr":"显示","title":"启动图1","type":"app","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-01-07 08:19:41","id":155626,"paixu":20,"picUrl":"https://dcdn.it120.cc/2020/01/07/b7471e4f-dc0d-4245-afb7-b64fbd9bb29a.jpg","status":0,"statusStr":"显示","title":"启动图2","type":"app","userId":35120},{"businessId":0,"dateAdd":"2021-04-08 13:46:26","dateUpdate":"2020-01-07 08:19:52","id":155625,"paixu":30,"picUrl":"https://dcdn.it120.cc/2020/01/07/5425289c-fb82-4ab4-a193-933ddba71496.jpg","status":0,"statusStr":"显示","title":"启动图2","type":"app","userId":35120}]
     * msg : success
     */

    private int code;
    private String msg;
    private List<T> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }


}
